package com.yun.many.web.spec.jackson.spring;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "many.jackson")
public class JacksonProperties {

    /**
     * 针对Local系列
     */
    private String dateTimeFormat = "yyyy-MM-dd HH:mm:ss";
    private String dateFormat = "yyyy-MM-dd";
    private String timeFormat = "HH:mm:ss";
    /**
     * 针对java.util.Date
     */
    private String utilDateFormat;

    private JsonInclude.Include defaultPropertyInclusion;
}